<!DOCTYPE html>
<html lang="en-us">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    
    <title>课后作业 | APr</title>
    <meta name="viewport" content="width=device-width,minimum-scale=1">
    <meta name="generator" content="Hugo 0.75.1" />
    
    
      <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
    

    
    
      <link href="/swi/dist/css/app.4fc0b62e4b82c997bb0041217cd6b979.css" rel="stylesheet">
    

    

    
      

    

    
    
      <link href="/swi/post/index.xml" rel="alternate" type="application/rss+xml" title="APr" />
      <link href="/swi/post/index.xml" rel="feed" type="application/rss+xml" title="APr" />
      
    
    
    <meta property="og:title" content="课后作业" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://apr7hx.gitee.io/swi/post/" />
<meta property="og:updated_time" content="2020-09-25T00:00:00+00:00" />
<meta itemprop="name" content="课后作业">
<meta itemprop="description" content="">
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="课后作业"/>
<meta name="twitter:description" content=""/>

	
  </head>

  <body class="ma0 avenir bg-near-white">

    

  
  
  <header class="cover bg-top" style="background-image: url('http://apr7hx.gitee.io/swi/images/notebook.jpg');">
    <div class="bg-black-60">
      <nav class="pv3 ph3 ph4-ns" role="navigation">
  <div class="flex-l justify-between items-center center">
    <a href="/swi/" class="f3 fw2 hover-white no-underline white-90 dib">
      
        APr
      
    </a>
    <div class="flex-l items-center">
      

      
        <ul class="pl0 mr3">
          
          <li class="list f5 f4-ns fw4 dib pr3">
            <a class="hover-white no-underline white-90" href="/swi/post/" title="课后作业 page">
              课后作业
            </a>
          </li>
          
        </ul>
      
      















    </div>
  </div>
</nav>

      <div class="tc-l pv4 pv6-l ph3 ph4-ns">
        <h1 class="f2 f-subheadline-l fw2 white-90 mb0 lh-title">
          课后作业
        </h1>
        
      </div>
    </div>
  </header>


    <main class="pb7" role="main">
      

  <article class="pa3 pa4-ns nested-copy-line-height nested-img">
    <section class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy mid-gray">
      
    </section>
    <aside class="flex-ns flex-wrap justify-around mt5">
      
        <div class="relative w-100 w-30-l mb4 bg-white">
          
            <div class="mb3 pa4 mid-gray overflow-hidden">
    
      <div class="f6">
        November 17, 2020
      </div>
    
    <h1 class="f3 near-black">
      <a href="http://apr7hx.gitee.io/swi/post/11-17/" class="link black dim">
        项目6-Python 交互式编程
      </a>
    </h1>
    <div class="nested-links f5 lh-copy nested-copy-line-height">
      求cosx的导函数
&gt;&gt;&gt; from sympy import *&gt;&gt;&gt; x=symbols('x')&gt;&gt;&gt; diff(cos(x),x)-sin(x)  求1/sinx对x的不定积分
&gt;&gt;&gt; from sympy import *&gt;&gt;&gt; x=symbols('x')&gt;&gt;&gt; integrate(1/sin(x),x)log(cos(x) - 1)/2 - log(cos(x) + 1)/2  求两矩阵的乘积
 &gt;&gt;&gt; import numpy.matlib&gt;&gt;&gt; import numpy as np&gt;&gt;&gt; a = np.array([[1,2],[3,4]])&gt;&gt;&gt; b = np.array([[5,6],[7,8]])&gt;&gt;&gt; print(np.dot(a,b))[[19 22][43 50]]  求矩阵的逆
&gt;&gt;&gt;import numpy as np &gt;&gt;&gt;x = np.array([[1,2],[3,4]]) &gt;&gt;&gt;y = np.
    </div>
  </div>

        </div>
      
        <div class="relative w-100 w-30-l mb4 bg-white">
          
            <div class="mb3 pa4 mid-gray overflow-hidden">
    
      <div class="f6">
        November 10, 2020
      </div>
    
    <h1 class="f3 near-black">
      <a href="http://apr7hx.gitee.io/swi/post/09/" class="link black dim">
        作业9
      </a>
    </h1>
    <div class="nested-links f5 lh-copy nested-copy-line-height">
      1、
  33,56,17,8,95,22
  33,17,56,8,95,22
  33,17,8,56,95,22
  17,33,8,56,95,22
  17,8,33,56,95,22
  8,17,33,56,95,22
  8,17,33,56,22,95
  8,17,33,22,56,95
  8,17,22,33,56,95
  So 33,17,8,56,95,22
2、 输入插入数据A
for (i = 0; i &lt; 6; ++i) { if ( a[i] &lt; A &lt; a[i + 1]) 链表 a[i] &lt; A &lt; a[i + 1] else if (A &lt; a[0]) 链表 A &lt; a[0] else 链表 A &gt; a[5] } 恰好对应链表的三种情况
    </div>
  </div>

        </div>
      
        <div class="relative w-100 w-30-l mb4 bg-white">
          
            <div class="mb3 pa4 mid-gray overflow-hidden">
    
      <div class="f6">
        November 3, 2020
      </div>
    
    <h1 class="f3 near-black">
      <a href="http://apr7hx.gitee.io/swi/post/11-3/" class="link black dim">
        项目5
      </a>
    </h1>
    <div class="nested-links f5 lh-copy nested-copy-line-height">
        自顶向下
自顶向下，Top-Down，指的是对大问题的分解，即将我们遇到的复杂的，所谓“大”的问题，分解为小问题，从而方便我们找出问题的关键、重点、突破口所在，进而用更加清晰的、定性定量的方法去描述、解决问题。
  逐步求精
逐步求精指的是我们对问题的一种映射与转化，即将现实世界中的问题具体化地抽象转化为对应领域、世界的问题；将复杂问题经过抽象化处理，精简、分解为相对简单的小问题，从而实现将整个大问题细化精确到某些简单小问题的解决中。
  洗衣机
   READ 用户选择模式REPEAT 注水 UNTILL 水位=注水要求REPEAT 浸泡 UNTILL 时间 = 时间要求WHILE(电机启动时间&gt;0){ REPEAT 电机左转3次电机右转3次时间-1单位}ENDWHILEWHILE(水位！=0)排水ENDWHILEFOR（脱水时间&gt;0） 电机转动脱水时间-1单位ENDFOR关闭电源
    </div>
  </div>

        </div>
      
    </aside>
    
<ul class="pagination">
  <li class="page-item">
    <a href="/swi/post/" class="page-link" aria-label="First"><span aria-hidden="true">&laquo;&laquo;</span></a>
  </li>
  <li class="page-item">
    <a href="/swi/post/" class="page-link" aria-label="Previous"><span aria-hidden="true">&laquo;</span></a>
  </li>
  <li class="page-item">
    <a class="page-link" href="/swi/post/">1</a>
  </li>
  <li class="page-item active">
    <a class="page-link" href="/swi/post/page/2/">2</a>
  </li>
  <li class="page-item">
    <a class="page-link" href="/swi/post/page/3/">3</a>
  </li>
  <li class="page-item disabled">
    <span aria-hidden="true">&nbsp;&hellip;&nbsp;</span>
  </li>
  <li class="page-item">
    <a class="page-link" href="/swi/post/page/6/">6</a>
  </li>
  <li class="page-item">
    <a href="/swi/post/page/3/" class="page-link" aria-label="Next"><span aria-hidden="true">&raquo;</span></a>
  </li>
  <li class="page-item">
    <a href="/swi/post/page/6/" class="page-link" aria-label="Last"><span aria-hidden="true">&raquo;&raquo;</span></a>
  </li>
</ul>


  </article>

    </main>
    <footer class="bg-black bottom-0 w-100 pa3" role="contentinfo">
  <div class="flex justify-between">
  <a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href="http://apr7hx.gitee.io/swi" >
    &copy;  APr 2021 
  </a>
    <div>














</div>
  </div>
</footer>

    

  <script src="/swi/dist/js/app.3fc0f988d21662902933.js"></script>


  </body>
</html>
